package com.janson.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.util.Date;

/**
 * @Author Janson
 * @Date 2022/4/6 9:55
 * @Version 1.0
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("login")
public class User {
    @TableId(type = IdType.AUTO)
    private String id;

    private String username;
    private String password;
    private String email;
    private int deleted;
    private int version;
    private Date createTime;
    private Date updateTime;
    private String perms;
}
